/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


import ac.engin.archive.Products;/*
import ac.engin.archive.Products;
import ac.engin.archive.clients;

import ac.lib.database.operations;
import ac.settings.dataModel;

import static ac.settings.dataModelurls.URL_Image;
import ac.settings.files;
import ac.settings.sqlQuerys;
import ac.ui.controls.PCLLabel;
import ac.uitls.propertiesOperation;
import java.awt.BorderLayout;

import java.awt.Component;

import java.awt.ComponentOrientation;
import java.awt.Cursor;
import java.awt.Dimension;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;

import javax.swing.ImageIcon;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;

import javax.swing.border.EmptyBorder;

import org.jdesktop.swingx.JXLabel;*/
import ac.engin.archive.clients;
import ac.lib.database.operations;
import ac.settings.dataModel;
import static ac.settings.dataModel.TABLE_HOME_MENU;
import static ac.settings.dataModelurls.URL_Image;
import ac.settings.files;
import static ac.settings.files.REPORT_sales_client_item;
import ac.settings.sqlQuerys;
import ac.ui.controls.PCLLabel;
import ac.uitls.propertiesOperation;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.ComponentOrientation;
import java.awt.Cursor;
import java.awt.Dimension;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
import javax.swing.border.EmptyBorder;
import org.jdesktop.swingx.JXLabel;

/**
 *
 * @author ismail
 */
public class index extends ac.ui.controls.PCLFrame implements dataModel, files, sqlQuerys {

    ac.engin.index i = new ac.engin.index();
    ac.ui.utils u = new ac.ui.utils();
    private ImageIcon closeXIcon;
   // private Dimension closeButtonSize;
    propertiesOperation po = new propertiesOperation();
    public static String clientId = "";
    public static String productId = "";
    ac.lib.users.operations up = new ac.lib.users.operations();

    /**
     * Creates new form NewJFrame
     */
    public index() {
        /*  try {
         UIManager.setLookAndFeel(new MetalLookAndFeel());
         } catch (Exception e) {
         e.printStackTrace();
         }
        
        
         */

        initComponents();

        onLoad();
        i.homeOpen();
        u.updateComponents(jMenuBar1.getComponents());

        updatemenus();
        updateTitle();

        timeData();
        if (po.getProperty("viewInfoAuto").equals("1")) {
            jp_info.setVisible(true);
        } else {
            jp_info.setVisible(false);
        }

        jlb_username.setText(up.getUserName());

        jlb_comtitle.setText(i.getCompnyInfo()[1]);
        jimg_comImage.updateImage(i.getCompnyimage(), "");
    }

//<editor-fold defaultstate="collapsed" desc="MY CODE">
    void updateTitle() {

        jtask_cInfo.setTitle(po.getWord("label.clientsInfo"));
        jtask_pInfo.setTitle(po.getWord("label.productsInfo"));
        jtask_cInfo1.setTitle(po.getWord("label.treasuryInfo"));

        jXTaskPane1.setTitle(po.getWord("label.favorit"));
        jXTaskPane2.setTitle(po.getWord("label.archive"));
        jXTaskPane4.setTitle(po.getWord("label.treasury"));

        jXTaskPane3.setTitle(po.getWord("label.moves"));
        ac.ui.utils u = new ac.ui.utils();
        Component[] c = new Component[]{pCLLabel10, pCLLabel13, jmen_infoPanel, pCLLabel11, pCLLabel12, pCLLabel1, pCLLabel2, pCLLabel4, pCLLabel5, pCLLabel3, pCLLabel14, pCLLabel15, pCLLabel16, pCLLabel17, pCLLabel23, pCLLabel24, pCLLabel25};
        u.updateInfoLabels(c);

        u.updateComponents(c);
        updatecolors();
    }

    public static void updatecolors() {
        ac.ui.utils u = new ac.ui.utils();
        Component[] c = new Component[]{
            jlb_ttitle,
            jlb_tbalance,
            jlb_ttitle,
            jlb_tbalance, jlb_ctitle, jlb_ccategory, jlb_cbalance,
            jlb_ctitle, jlb_ccategory, jlb_cbalance,
            jlb_ptitle, jlb_pategory, jlb_pBalance, jlb_ppricbay, jlb_ppricsell,
            jlb_pinventory, jlb_ptitle, jlb_pategory, jlb_pBalance,
            jlb_ppricbay, jlb_ppricsell, jlb_pinventory, jlb_pnumInInventory, jlb_plastmove, jlb_clastmove, jlb_tlastmove
        };
        u.updateInfoValues(c);

    }

    void addicon(org.jdesktop.swingx.JXTaskPane t, String title, String image, final String method) {
        JXLabel x = new JXLabel();
        if (image == null) {
            image = "file.png";
        }
        propertiesOperation op = new propertiesOperation();

        closeXIcon = new ImageIcon(getClass().getResource(URL_Image + image));
        if (op.getProperty("lang").equals("ar")) {
            x.setHorizontalAlignment(SwingConstants.RIGHT);
            x.setHorizontalAlignment(JLabel.RIGHT);

        } else {
            x.setHorizontalAlignment(SwingConstants.LEFT);
            x.setHorizontalAlignment(JLabel.LEFT);
        }
        x.setText(title);

        PCLLabel iconLabel = new PCLLabel();

        iconLabel.setIcon(closeXIcon);
        iconLabel.setPreferredSize(new Dimension(20, 20));

        JPanel tab = new JPanel();
        tab.setSize(new Dimension(150, 25));
        tab.setPreferredSize(new Dimension(150, 25));

        tab.setBorder(new EmptyBorder(0, 0, 0, 0));

        x.setSize(new Dimension(120, 20));
        x.setPreferredSize(new Dimension(120, 20));

        //  x.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        if (op.getProperty("lang").equals("ar")) {
            tab.add(x, BorderLayout.WEST);
            tab.add(iconLabel, BorderLayout.EAST);

        } else {
            tab.add(iconLabel, BorderLayout.WEST);
            tab.add(x, BorderLayout.EAST);

        }

        Cursor cursor = Cursor.getDefaultCursor();
        //change cursor appearance to HAND_CURSOR when the mouse pointed on images
        cursor = Cursor.getPredefinedCursor(Cursor.HAND_CURSOR);
        tab.setCursor(cursor);

        t.add(tab);

        x.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jXLabel1MouseClicked(evt);

                Method myMethod;

                //    Class myTarget = Class.forName("index");
                try {

                    ac.engin.index i = new ac.engin.index();

                    myMethod = i.getClass().getDeclaredMethod(method);
                    try {

                        myMethod.invoke(i, null);
                    } catch (IllegalAccessException ex) {
                        Logger.getLogger(index.class.getName()).log(Level.SEVERE, null, ex);
                    } catch (IllegalArgumentException ex) {
                        Logger.getLogger(index.class.getName()).log(Level.SEVERE, null, ex);
                    } catch (InvocationTargetException ex) {
                        Logger.getLogger(index.class.getName()).log(Level.SEVERE, null, ex);
                    }

                } catch (NoSuchMethodException ex) {
                    Logger.getLogger(index.class.getName()).log(Level.SEVERE, null, ex);

                } catch (SecurityException ex) {
                    Logger.getLogger(index.class.getName()).log(Level.SEVERE, null, ex);
                }

            }
        });

    }

    public static void updateTinfo(String id, boolean openPanel) {
        propertiesOperation po = new propertiesOperation();
        jlb_ttitle.setText("-");
        jlb_tbalance.setText("-");
        ac.engin.treasury.treasuryData t = new ac.engin.treasury.treasuryData();
        ac.ui.controls.PCLGetdata g = new ac.ui.controls.PCLGetdata();
        g.setAddtype("treasuryType");
        g.setCategory(true);
        jlb_ttitle.setText(g.convertValue(id));

        jlb_tbalance.setText("" + t.getbalance(id));
        if (openPanel && po.getProperty("viewInfoAuto").equals("1")) {

            jp_info.setVisible(true);
        }
    }

    public static void updateCinfo(String id, boolean openPanel) {

        jlb_ctitle.setText("-");
        jlb_ccategory.setText("-");
        jlb_cbalance.setText("-");
        propertiesOperation po = new propertiesOperation();
        clients c = new clients();
        String[] cdata = c.getRow(id);
        jlb_ctitle.setText(cdata[1]);

        ac.ui.controls.PCLGetdata g = new ac.ui.controls.PCLGetdata();

        g.setAddtype("clientsCat");
        g.setCategory(true);
        jlb_ccategory.setText(g.convertValue(cdata[8]));

        jlb_cbalance.setText("" + c.getbalance(id));
        if (openPanel && po.getProperty("viewInfoAuto").equals("1")) {

            jp_info.setVisible(true);
        }

        updateClintItem();
    }

    public static void updatePinfo(String id, String inventory_id, boolean openPanel) {

        jlb_ptitle.setText("-");
        jlb_pategory.setText("-");
        jlb_pBalance.setText("-");
        jlb_ppricbay.setText("-");
        jlb_ppricsell.setText("-");
        jlb_pinventory.setText("-");

          jlb_pnumInInventory.setText("-");
        
        
        Products p = new Products();
        String[] cdata = p.getRow(id);
        propertiesOperation po = new propertiesOperation();
        ac.ui.controls.PCLGetdata g = new ac.ui.controls.PCLGetdata();

        jlb_ptitle.setText(cdata[1]);

        g.setAddtype("productsCat");
        g.setCategory(true);
        jlb_pategory.setText(g.convertValue(cdata[7]));
        jlb_pBalance.setText("" + p.getbalance(id));

        String pString = "";
        String sString = "";

        //   pString
        pString += " " + po.getWord("label.form");
        pString += " " + cdata[3];
        pString += " " + po.getWord("label.to");
        pString += " " + cdata[11];

        sString += " " + po.getWord("label.form");
        sString += " " + cdata[4];
        sString += " " + po.getWord("label.to");
        sString += " " + cdata[12];

        jlb_ppricbay.setText(pString);
        jlb_ppricsell.setText(sString);

        if (openPanel && po.getProperty("viewInfoAuto").equals("1")) {

            jp_info.setVisible(true);
        }
        if (!inventory_id.equalsIgnoreCase("")) {

            g.setAddtype("inventory");
            g.setCategory(true);
            jlb_pinventory.setText(g.convertValue(inventory_id));

            jlb_pnumInInventory.setText("" + p.getbalance(id, inventory_id));

        }
        updateClintItem();

    }

    void updatemenus() {

        operations db = new operations();

        try {
            db.setOpenCon();

            ResultSet rs = db.getDataWithOutCon(TABLE_HOME_MENU);
            while (rs.next()) {

                /*
                 Class cls = Class.forName("method2");
                 Class partypes[] = new Class[2];
                
                 Method meth = cls.getMethod("add", partypes);
                 method2 methobj = new method2();
                
                 Method  method = c.getDeclaredMethod ("method name", parameterTypes)
                 */
                switch (rs.getString("pkg")) {
                    case "1":
                        addicon(jXTaskPane1, po.getWord(rs.getString("title")), rs.getString("image"), rs.getString("method"));
                        break;
                    case "2":
                        addicon(jXTaskPane2, po.getWord(rs.getString("title")), rs.getString("image"), rs.getString("method"));
                        break;
                    case "3":
                        addicon(jXTaskPane3, po.getWord(rs.getString("title")), rs.getString("image"), rs.getString("method"));
                        break;
                    case "4":
                        addicon(jXTaskPane4, po.getWord(rs.getString("title")), rs.getString("image"), rs.getString("method"));
                        break;

                }

            }

            db.setCloseCon();

        } catch (SQLException ex) {
            Logger.getLogger(index.class.getName()).log(Level.SEVERE, null, ex);
        }

    }
//</editor-fold>

    void timeData() {

        final DateFormat df = new SimpleDateFormat("dd/MM/yyyy HH:mm.ss" + "  ");
        Date d = new Date();
        String timenow = df.format(new Date());
        jlb_clock.setText(timenow);

    }

    public void jXLabel1MouseClicked(java.awt.event.MouseEvent evt) {
        //  ac.ui.utils.sendError(jLabel1, "asdasd", "asdasdsad");
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pCLButtonBeanInfo1 = new ac.ui.controls.PCLButtonBeanInfo();
        pCLPanel1 = new ac.ui.controls.PCLPanel();
        jXTaskPaneContainer1 = new org.jdesktop.swingx.JXTaskPaneContainer();
        jXTaskPane1 = new org.jdesktop.swingx.JXTaskPane();
        jXTaskPane2 = new org.jdesktop.swingx.JXTaskPane();
        jXTaskPane3 = new org.jdesktop.swingx.JXTaskPane();
        jXTaskPane4 = new org.jdesktop.swingx.JXTaskPane();
        jp_info1 = new ac.ui.controls.PCLPanel();
        jPanel3 = new javax.swing.JPanel();
        jlb_username = new javax.swing.JLabel();
        jlb_clock = new javax.swing.JLabel();
        jSplitPane1 = new javax.swing.JSplitPane();
        jp_info = new ac.ui.controls.PCLPanel();
        jScrollPane2 = new javax.swing.JScrollPane();
        jPanel2 = new javax.swing.JPanel();
        jtask_cInfo = new org.jdesktop.swingx.JXTaskPane();
        pCLLabel1 = new ac.ui.controls.PCLLabel();
        jlb_clastmove = new ac.ui.controls.PCLLabel();
        pCLLabel2 = new ac.ui.controls.PCLLabel();
        jlb_ctitle = new ac.ui.controls.PCLLabel();
        pCLLabel4 = new ac.ui.controls.PCLLabel();
        jlb_cbalance = new ac.ui.controls.PCLLabel();
        pCLLabel5 = new ac.ui.controls.PCLLabel();
        jlb_ccategory = new ac.ui.controls.PCLLabel();
        jtask_pInfo = new org.jdesktop.swingx.JXTaskPane();
        pCLLabel3 = new ac.ui.controls.PCLLabel();
        jlb_plastmove = new ac.ui.controls.PCLLabel();
        pCLLabel14 = new ac.ui.controls.PCLLabel();
        jlb_ptitle = new ac.ui.controls.PCLLabel();
        pCLLabel15 = new ac.ui.controls.PCLLabel();
        jlb_pBalance = new ac.ui.controls.PCLLabel();
        pCLLabel16 = new ac.ui.controls.PCLLabel();
        jlb_pategory = new ac.ui.controls.PCLLabel();
        pCLLabel17 = new ac.ui.controls.PCLLabel();
        jlb_ppricbay = new ac.ui.controls.PCLLabel();
        pCLLabel23 = new ac.ui.controls.PCLLabel();
        jlb_ppricsell = new ac.ui.controls.PCLLabel();
        pCLLabel24 = new ac.ui.controls.PCLLabel();
        jlb_pinventory = new ac.ui.controls.PCLLabel();
        pCLLabel25 = new ac.ui.controls.PCLLabel();
        jlb_pnumInInventory = new ac.ui.controls.PCLLabel();
        jtask_cInfo1 = new org.jdesktop.swingx.JXTaskPane();
        pCLLabel10 = new ac.ui.controls.PCLLabel();
        jlb_tlastmove = new ac.ui.controls.PCLLabel();
        pCLLabel11 = new ac.ui.controls.PCLLabel();
        jlb_ttitle = new ac.ui.controls.PCLLabel();
        pCLLabel12 = new ac.ui.controls.PCLLabel();
        jlb_tbalance = new ac.ui.controls.PCLLabel();
        jtask_cInfo2 = new org.jdesktop.swingx.JXTaskPane();
        pCLLabel13 = new ac.ui.controls.PCLLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        pCLTable1 = new ac.ui.controls.PCLTable();
        jtab_pages = new ac.ui.controls.PCLTabs();
        pCLPanel2 = new ac.ui.controls.PCLPanel();
        jlb_comData = new javax.swing.JPanel();
        pCLButton1 = new ac.ui.controls.PCLButton();
        pCLButton2 = new ac.ui.controls.PCLButton();
        pCLButton3 = new ac.ui.controls.PCLButton();
        pCLButton4 = new ac.ui.controls.PCLButton();
        jimg_comImage = new ac.ui.controls.PCLImage();
        jlb_comtitle = new ac.ui.controls.PCLLabel();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        jMenuItem19 = new javax.swing.JMenuItem();
        pCLSeperator3 = new ac.ui.controls.PCLSeperator();
        jMenuItem1 = new javax.swing.JMenuItem();
        jMenuItem2 = new javax.swing.JMenuItem();
        jMenuItem13 = new javax.swing.JMenuItem();
        jMenu7 = new javax.swing.JMenu();
        jmen_infoPanel = new javax.swing.JCheckBoxMenuItem();
        jMenu2 = new javax.swing.JMenu();
        jMenuItem3 = new javax.swing.JMenuItem();
        jMenu6 = new javax.swing.JMenu();
        jMenuItem4 = new javax.swing.JMenuItem();
        jMenuItem5 = new javax.swing.JMenuItem();
        jMenu3 = new javax.swing.JMenu();
        jMenuItem6 = new javax.swing.JMenuItem();
        jMenuItem7 = new javax.swing.JMenuItem();
        jMenu4 = new javax.swing.JMenu();
        jMenuItem8 = new javax.swing.JMenuItem();
        jMenuItem9 = new javax.swing.JMenuItem();
        pCLSeperator1 = new ac.ui.controls.PCLSeperator();
        jMenuItem10 = new javax.swing.JMenuItem();
        jMenuItem11 = new javax.swing.JMenuItem();
        pCLSeperator2 = new ac.ui.controls.PCLSeperator();
        jMenuItem12 = new javax.swing.JMenuItem();
        jMenu5 = new javax.swing.JMenu();
        jMenuItem14 = new javax.swing.JMenuItem();
        jSeparator4 = new javax.swing.JPopupMenu.Separator();
        jMenuItem15 = new javax.swing.JMenuItem();
        jMenuItem16 = new javax.swing.JMenuItem();
        jSeparator3 = new javax.swing.JPopupMenu.Separator();
        jMenuItem17 = new javax.swing.JMenuItem();
        jSeparator2 = new javax.swing.JPopupMenu.Separator();
        jMenuItem18 = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        pCLPanel1.setBackground(new java.awt.Color(97, 71, 45));

        jXTaskPaneContainer1.setBackground(new java.awt.Color(153, 153, 153));
        org.jdesktop.swingx.VerticalLayout verticalLayout1 = new org.jdesktop.swingx.VerticalLayout();
        verticalLayout1.setGap(14);
        jXTaskPaneContainer1.setLayout(verticalLayout1);
        jXTaskPaneContainer1.add(jXTaskPane1);
        jXTaskPaneContainer1.add(jXTaskPane2);
        jXTaskPaneContainer1.add(jXTaskPane3);
        jXTaskPaneContainer1.add(jXTaskPane4);

        javax.swing.GroupLayout pCLPanel1Layout = new javax.swing.GroupLayout(pCLPanel1);
        pCLPanel1.setLayout(pCLPanel1Layout);
        pCLPanel1Layout.setHorizontalGroup(
            pCLPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jXTaskPaneContainer1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        pCLPanel1Layout.setVerticalGroup(
            pCLPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jXTaskPaneContainer1, javax.swing.GroupLayout.DEFAULT_SIZE, 302, Short.MAX_VALUE)
        );

        jPanel3.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

        jlb_username.setForeground(javax.swing.UIManager.getDefaults().getColor("inactiveCaption"));
        jlb_username.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jlb_username.setText("-");
        jlb_username.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jlb_username.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);

        jlb_clock.setForeground(javax.swing.UIManager.getDefaults().getColor("inactiveCaption"));
        jlb_clock.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jlb_clock.setText("-");
        jlb_clock.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jlb_clock.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addComponent(jlb_username, javax.swing.GroupLayout.DEFAULT_SIZE, 290, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jlb_clock, javax.swing.GroupLayout.DEFAULT_SIZE, 291, Short.MAX_VALUE)
                .addGap(2, 2, 2))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jlb_username, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
            .addComponent(jlb_clock, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        jSplitPane1.setDividerLocation(150);

        jp_info.setAutoscrolls(true);
        jp_info.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));

        pCLLabel1.setText("jlb_lastMove");
        jtask_cInfo.getContentPane().add(pCLLabel1);

        jlb_clastmove.setBackground(java.awt.Color.white);
        jlb_clastmove.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_clastmove.setForeground(new java.awt.Color(204, 0, 0));
        jlb_clastmove.setText("-");
        jlb_clastmove.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        jlb_clastmove.setFontBold(true);
        jlb_clastmove.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_cInfo.getContentPane().add(jlb_clastmove);

        pCLLabel2.setText("jlb_title");
        jtask_cInfo.getContentPane().add(pCLLabel2);

        jlb_ctitle.setBackground(java.awt.Color.white);
        jlb_ctitle.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_ctitle.setForeground(new java.awt.Color(204, 0, 0));
        jlb_ctitle.setText("-");
        jlb_ctitle.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        jlb_ctitle.setFontBold(true);
        jlb_ctitle.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_cInfo.getContentPane().add(jlb_ctitle);

        pCLLabel4.setText("jlb_Balance");
        jtask_cInfo.getContentPane().add(pCLLabel4);

        jlb_cbalance.setBackground(java.awt.Color.white);
        jlb_cbalance.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_cbalance.setForeground(new java.awt.Color(204, 0, 0));
        jlb_cbalance.setText("-");
        jlb_cbalance.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        jlb_cbalance.setFontBold(true);
        jlb_cbalance.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_cInfo.getContentPane().add(jlb_cbalance);

        pCLLabel5.setText("jlb_category");
        jtask_cInfo.getContentPane().add(pCLLabel5);

        jlb_ccategory.setBackground(java.awt.Color.white);
        jlb_ccategory.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_ccategory.setForeground(new java.awt.Color(204, 0, 0));
        jlb_ccategory.setText("-");
        jlb_ccategory.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        jlb_ccategory.setFontBold(true);
        jlb_ccategory.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_cInfo.getContentPane().add(jlb_ccategory);

        pCLLabel3.setText("jlb_lastMove");
        jtask_pInfo.getContentPane().add(pCLLabel3);

        jlb_plastmove.setBackground(java.awt.Color.white);
        jlb_plastmove.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_plastmove.setForeground(new java.awt.Color(255, 0, 0));
        jlb_plastmove.setText("-");
        jlb_plastmove.setFontBold(true);
        jlb_plastmove.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_pInfo.getContentPane().add(jlb_plastmove);

        pCLLabel14.setText("jlb_title");
        jtask_pInfo.getContentPane().add(pCLLabel14);

        jlb_ptitle.setBackground(java.awt.Color.white);
        jlb_ptitle.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_ptitle.setForeground(new java.awt.Color(255, 0, 0));
        jlb_ptitle.setText("-");
        jlb_ptitle.setFontBold(true);
        jlb_ptitle.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_pInfo.getContentPane().add(jlb_ptitle);

        pCLLabel15.setText("jlb_Balance");
        jtask_pInfo.getContentPane().add(pCLLabel15);

        jlb_pBalance.setBackground(java.awt.Color.white);
        jlb_pBalance.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_pBalance.setForeground(new java.awt.Color(255, 0, 0));
        jlb_pBalance.setText("-");
        jlb_pBalance.setFontBold(true);
        jlb_pBalance.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_pInfo.getContentPane().add(jlb_pBalance);

        pCLLabel16.setText("jlb_category");
        jtask_pInfo.getContentPane().add(pCLLabel16);

        jlb_pategory.setBackground(java.awt.Color.white);
        jlb_pategory.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_pategory.setForeground(new java.awt.Color(255, 0, 0));
        jlb_pategory.setText("-");
        jlb_pategory.setFontBold(true);
        jlb_pategory.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_pInfo.getContentPane().add(jlb_pategory);

        pCLLabel17.setText("jlb_pricbay");
        jtask_pInfo.getContentPane().add(pCLLabel17);

        jlb_ppricbay.setBackground(java.awt.Color.white);
        jlb_ppricbay.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_ppricbay.setForeground(new java.awt.Color(255, 0, 0));
        jlb_ppricbay.setText("-");
        jlb_ppricbay.setFontBold(true);
        jlb_ppricbay.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_pInfo.getContentPane().add(jlb_ppricbay);

        pCLLabel23.setText("jlb_pricsell");
        jtask_pInfo.getContentPane().add(pCLLabel23);

        jlb_ppricsell.setBackground(java.awt.Color.white);
        jlb_ppricsell.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_ppricsell.setForeground(new java.awt.Color(255, 0, 0));
        jlb_ppricsell.setText("-");
        jlb_ppricsell.setFontBold(true);
        jlb_ppricsell.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_pInfo.getContentPane().add(jlb_ppricsell);

        pCLLabel24.setText("jlb_inventory");
        jtask_pInfo.getContentPane().add(pCLLabel24);

        jlb_pinventory.setBackground(java.awt.Color.white);
        jlb_pinventory.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_pinventory.setForeground(new java.awt.Color(255, 0, 0));
        jlb_pinventory.setText("-");
        jlb_pinventory.setFontBold(true);
        jlb_pinventory.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_pInfo.getContentPane().add(jlb_pinventory);

        pCLLabel25.setText("jlb_numInInventory");
        jtask_pInfo.getContentPane().add(pCLLabel25);

        jlb_pnumInInventory.setBackground(java.awt.Color.white);
        jlb_pnumInInventory.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_pnumInInventory.setForeground(new java.awt.Color(255, 0, 0));
        jlb_pnumInInventory.setText("-");
        jlb_pnumInInventory.setFontBold(true);
        jlb_pnumInInventory.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_pInfo.getContentPane().add(jlb_pnumInInventory);

        pCLLabel10.setText("jlb_lastMove");
        jtask_cInfo1.getContentPane().add(pCLLabel10);

        jlb_tlastmove.setBackground(java.awt.Color.white);
        jlb_tlastmove.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_tlastmove.setForeground(new java.awt.Color(255, 0, 0));
        jlb_tlastmove.setText("-");
        jlb_tlastmove.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        jlb_tlastmove.setFontBold(true);
        jlb_tlastmove.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_cInfo1.getContentPane().add(jlb_tlastmove);

        pCLLabel11.setText("jlb_title");
        jtask_cInfo1.getContentPane().add(pCLLabel11);

        jlb_ttitle.setBackground(java.awt.Color.white);
        jlb_ttitle.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_ttitle.setForeground(new java.awt.Color(255, 0, 0));
        jlb_ttitle.setText("-");
        jlb_ttitle.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        jlb_ttitle.setFontBold(true);
        jlb_ttitle.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_cInfo1.getContentPane().add(jlb_ttitle);

        pCLLabel12.setText("jlb_Balance");
        jtask_cInfo1.getContentPane().add(pCLLabel12);

        jlb_tbalance.setBackground(java.awt.Color.white);
        jlb_tbalance.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));
        jlb_tbalance.setForeground(new java.awt.Color(255, 0, 0));
        jlb_tbalance.setText("-");
        jlb_tbalance.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        jlb_tbalance.setFontBold(true);
        jlb_tbalance.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jtask_cInfo1.getContentPane().add(jlb_tbalance);

        pCLLabel13.setText("jlb_salesClient&prodouct");
        pCLLabel13.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                pCLLabel13MouseClicked(evt);
            }
        });
        jtask_cInfo2.getContentPane().add(pCLLabel13);

        pCLTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {

            }
        ));
        jScrollPane1.setViewportView(pCLTable1);

        jtask_cInfo2.getContentPane().add(jScrollPane1);

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jtask_cInfo, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jtask_pInfo, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 306, Short.MAX_VALUE)
                    .addComponent(jtask_cInfo1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jtask_cInfo2, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))
                .addContainerGap())
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                .addComponent(jtask_cInfo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jtask_pInfo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jtask_cInfo1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jtask_cInfo2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jScrollPane2.setViewportView(jPanel2);

        javax.swing.GroupLayout jp_infoLayout = new javax.swing.GroupLayout(jp_info);
        jp_info.setLayout(jp_infoLayout);
        jp_infoLayout.setHorizontalGroup(
            jp_infoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 147, Short.MAX_VALUE)
        );
        jp_infoLayout.setVerticalGroup(
            jp_infoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jp_infoLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                .addContainerGap())
        );

        jSplitPane1.setLeftComponent(jp_info);

        jtab_pages.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(153, 153, 153)));
        jSplitPane1.setRightComponent(jtab_pages);

        javax.swing.GroupLayout jp_info1Layout = new javax.swing.GroupLayout(jp_info1);
        jp_info1.setLayout(jp_info1Layout);
        jp_info1Layout.setHorizontalGroup(
            jp_info1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jp_info1Layout.createSequentialGroup()
                .addComponent(jSplitPane1)
                .addContainerGap())
        );
        jp_info1Layout.setVerticalGroup(
            jp_info1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jp_info1Layout.createSequentialGroup()
                .addComponent(jSplitPane1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        pCLPanel2.setBackground(java.awt.Color.gray);

        jlb_comData.setBackground(java.awt.Color.gray);
        jlb_comData.setBorder(javax.swing.BorderFactory.createLineBorder(java.awt.Color.gray));

        pCLButton1.setType("logout");

        pCLButton2.setType("close");
        pCLButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                pCLButton2ActionPerformed(evt);
            }
        });

        pCLButton3.setType("info");
        pCLButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                pCLButton3ActionPerformed(evt);
            }
        });

        pCLButton4.setType("min");
        pCLButton4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                pCLButton4ActionPerformed(evt);
            }
        });

        jimg_comImage.setText("pCLImage1");

        jlb_comtitle.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jlb_comtitle.setText("-");

        javax.swing.GroupLayout jlb_comDataLayout = new javax.swing.GroupLayout(jlb_comData);
        jlb_comData.setLayout(jlb_comDataLayout);
        jlb_comDataLayout.setHorizontalGroup(
            jlb_comDataLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jlb_comDataLayout.createSequentialGroup()
                .addGroup(jlb_comDataLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jlb_comDataLayout.createSequentialGroup()
                        .addComponent(pCLButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jlb_comDataLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jlb_comDataLayout.createSequentialGroup()
                                .addComponent(pCLButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(pCLButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(pCLButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jimg_comImage, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(0, 10, Short.MAX_VALUE))
                    .addGroup(jlb_comDataLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jlb_comtitle, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addContainerGap())
        );

        jlb_comDataLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {pCLButton1, pCLButton2, pCLButton3, pCLButton4});

        jlb_comDataLayout.setVerticalGroup(
            jlb_comDataLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jlb_comDataLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jimg_comImage, javax.swing.GroupLayout.PREFERRED_SIZE, 88, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jlb_comtitle, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jlb_comDataLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(pCLButton1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pCLButton4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pCLButton3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pCLButton2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );

        jlb_comDataLayout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {pCLButton1, pCLButton2, pCLButton3, pCLButton4});

        pCLButton1.getAccessibleContext().setAccessibleName("45");
        pCLButton2.getAccessibleContext().setAccessibleName("45");
        pCLButton3.getAccessibleContext().setAccessibleName("45");
        pCLButton4.getAccessibleContext().setAccessibleName("45");

        javax.swing.GroupLayout pCLPanel2Layout = new javax.swing.GroupLayout(pCLPanel2);
        pCLPanel2.setLayout(pCLPanel2Layout);
        pCLPanel2Layout.setHorizontalGroup(
            pCLPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jlb_comData, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        pCLPanel2Layout.setVerticalGroup(
            pCLPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pCLPanel2Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jlb_comData, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        jMenu1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ac/images/file.png"))); // NOI18N
        jMenu1.setText("jmen_file");

        jMenuItem19.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_H, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem19.setText("jb_home");
        jMenuItem19.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem19ActionPerformed(evt);
            }
        });
        jMenu1.add(jMenuItem19);
        jMenu1.add(pCLSeperator3);

        jMenuItem1.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_X, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem1.setText("jb_close");
        jMenuItem1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem1ActionPerformed(evt);
            }
        });
        jMenu1.add(jMenuItem1);

        jMenuItem2.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_Z, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem2.setText("jbt_logout");
        jMenuItem2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem2ActionPerformed(evt);
            }
        });
        jMenu1.add(jMenuItem2);

        jMenuItem13.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_Y, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem13.setText("jbt_min");
        jMenu1.add(jMenuItem13);

        jMenuBar1.add(jMenu1);

        jMenu7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ac/images/view.png"))); // NOI18N
        jMenu7.setText("jmen_view");

        jmen_infoPanel.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F11, 0));
        jmen_infoPanel.setText("jmen_infoPanel");
        jmen_infoPanel.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jmen_infoPanelActionPerformed(evt);
            }
        });
        jMenu7.add(jmen_infoPanel);

        jMenuBar1.add(jMenu7);

        jMenu2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ac/images/setting.png"))); // NOI18N
        jMenu2.setText("jmen_setting");

        jMenuItem3.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_E, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem3.setText("jmen_setting");
        jMenuItem3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem3ActionPerformed(evt);
            }
        });
        jMenu2.add(jMenuItem3);

        jMenuBar1.add(jMenu2);

        jMenu6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ac/images/tools.png"))); // NOI18N
        jMenu6.setText("jmen_tools");

        jMenuItem4.setText("jmen_tel");
        jMenuItem4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem4ActionPerformed(evt);
            }
        });
        jMenu6.add(jMenuItem4);

        jMenuItem5.setText("jmen_calc");
        jMenuItem5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem5ActionPerformed(evt);
            }
        });
        jMenu6.add(jMenuItem5);

        jMenuBar1.add(jMenu6);

        jMenu3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ac/images/archive.png"))); // NOI18N
        jMenu3.setText("jmen_archive");

        jMenuItem6.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_C, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem6.setText("jmen_clientsArchive");
        jMenuItem6.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem6ActionPerformed(evt);
            }
        });
        jMenu3.add(jMenuItem6);

        jMenuItem7.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_P, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem7.setText("jmen_productsArchive");
        jMenuItem7.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem7ActionPerformed(evt);
            }
        });
        jMenu3.add(jMenuItem7);

        jMenuBar1.add(jMenu3);

        jMenu4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ac/images/moves.png"))); // NOI18N
        jMenu4.setText("jmen_moves");

        jMenuItem8.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem8.setText("jmen_sellMove");
        jMenuItem8.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem8ActionPerformed(evt);
            }
        });
        jMenu4.add(jMenuItem8);

        jMenuItem9.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_B, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem9.setText("jmen_bayMove");
        jMenuItem9.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem9ActionPerformed(evt);
            }
        });
        jMenu4.add(jMenuItem9);
        jMenu4.add(pCLSeperator1);

        jMenuItem10.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_I, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem10.setText("jmen_inventoryInput");
        jMenuItem10.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem10ActionPerformed(evt);
            }
        });
        jMenu4.add(jMenuItem10);

        jMenuItem11.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem11.setText("jmen_inventoryOutpout");
        jMenuItem11.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem11ActionPerformed(evt);
            }
        });
        jMenu4.add(jMenuItem11);
        jMenu4.add(pCLSeperator2);

        jMenuItem12.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_P, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem12.setText("jmen_priceView");
        jMenuItem12.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem12ActionPerformed(evt);
            }
        });
        jMenu4.add(jMenuItem12);

        jMenuBar1.add(jMenu4);

        jMenu5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ac/images/mony.png"))); // NOI18N
        jMenu5.setText("jmen_treasury");

        jMenuItem14.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_T, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem14.setText("jmen_treasury");
        jMenuItem14.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem14ActionPerformed(evt);
            }
        });
        jMenu5.add(jMenuItem14);
        jMenu5.add(jSeparator4);

        jMenuItem15.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_M, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem15.setText("jmen_treasuryInpout");
        jMenuItem15.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem15ActionPerformed(evt);
            }
        });
        jMenu5.add(jMenuItem15);

        jMenuItem16.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem16.setText("jmen_treasuryOutpot");
        jMenuItem16.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem16ActionPerformed(evt);
            }
        });
        jMenu5.add(jMenuItem16);
        jMenu5.add(jSeparator3);

        jMenuItem17.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_E, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem17.setText("jmen_otherExpenses");
        jMenuItem17.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem17ActionPerformed(evt);
            }
        });
        jMenu5.add(jMenuItem17);
        jMenu5.add(jSeparator2);

        jMenuItem18.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_G, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem18.setText("jmen_Installment");
        jMenuItem18.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem18ActionPerformed(evt);
            }
        });
        jMenu5.add(jMenuItem18);

        jMenuBar1.add(jMenu5);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(pCLPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(pCLPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jp_info1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(pCLPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(pCLPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jp_info1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
        );

        setBounds(0, 0, 835, 552);
    }// </editor-fold>//GEN-END:initComponents

    private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jMenuItem1ActionPerformed

    private void jMenuItem2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jMenuItem2ActionPerformed

    private void jMenuItem3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem3ActionPerformed
        // TODO add your handling code here:

        ac.ui.utils.openWindows(new ac.GUI.setting.f_setting(""), 662, 344);
    }//GEN-LAST:event_jMenuItem3ActionPerformed

    private void jMenuItem4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem4ActionPerformed
        // TODO add your handling code here:

        jtab_pages.openPanel(new ac.GUI.tools.tel(), po.getWord("frame.tel"));

    }//GEN-LAST:event_jMenuItem4ActionPerformed

    private void jMenuItem5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem5ActionPerformed
        // TODO add your handling code here:
        jtab_pages.openPanel(new ac.GUI.archive.Products(), po.getWord("label.productsArchive"));

    }//GEN-LAST:event_jMenuItem5ActionPerformed

    private void jMenuItem6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem6ActionPerformed

        jtab_pages.openPanel(new ac.GUI.archive.jpn_Clients(), po.getWord("label.clientsArchive"));

    }//GEN-LAST:event_jMenuItem6ActionPerformed

    private void jMenuItem7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem7ActionPerformed
        jtab_pages.openPanel(new ac.GUI.archive.Products(), po.getWord("frame.Products"));
    }//GEN-LAST:event_jMenuItem7ActionPerformed

    private void jMenuItem8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem8ActionPerformed
        // TODO add your handling code here:
        //sellMoveOpen();
        jtab_pages.openPanel(new ac.GUI.moves.sell("", ""), po.getWord("label.sellMove"));

    }//GEN-LAST:event_jMenuItem8ActionPerformed

    private void jMenuItem9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem9ActionPerformed
        i.BuyMoveOpen("", "");

    }//GEN-LAST:event_jMenuItem9ActionPerformed

    private void jMenuItem11ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem11ActionPerformed
        i.inventoryOuput("", "");
    }//GEN-LAST:event_jMenuItem11ActionPerformed

    private void jMenuItem10ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem10ActionPerformed
        i.inventoryInput("", "");
    }//GEN-LAST:event_jMenuItem10ActionPerformed

    private void jMenuItem14ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem14ActionPerformed
        jtab_pages.openPanel(new ac.GUI.treasury.treasuryData(), po.getWord("label.treasury"));

    }//GEN-LAST:event_jMenuItem14ActionPerformed

    private void jMenuItem15ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem15ActionPerformed
        jtab_pages.openPanel(new ac.GUI.treasury.treasuryIn("", null), po.getWord("label.treasuryin"));

    }//GEN-LAST:event_jMenuItem15ActionPerformed

    private void pCLButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_pCLButton3ActionPerformed

        jp_info.setVisible(!jp_info.isVisible());
        jSplitPane1.setDividerLocation(0.20);
    }//GEN-LAST:event_pCLButton3ActionPerformed

    private void pCLButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_pCLButton2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_pCLButton2ActionPerformed

    private void jMenuItem12ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem12ActionPerformed
        i.priceViewOpen();
    }//GEN-LAST:event_jMenuItem12ActionPerformed

    private void jMenuItem17ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem17ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jMenuItem17ActionPerformed

    private void jMenuItem16ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem16ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jMenuItem16ActionPerformed

    private void jMenuItem18ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem18ActionPerformed
        i.InstallmentOpen("", "");
    }//GEN-LAST:event_jMenuItem18ActionPerformed

    private void jMenuItem19ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem19ActionPerformed
        i.homeOpen();
    }//GEN-LAST:event_jMenuItem19ActionPerformed

    void setpComponent(Component[] comm, int num) {

        for (Component c : comm) {

            c.setSize(new Dimension(num, c.getSize().height));
            c.setPreferredSize(new Dimension(num, c.getSize().height));
            c.revalidate();
        }

    }

    void setpComponentP(Component[] comm, int num) {

        for (Component c : comm) {

            c.setSize(new Dimension(num, c.getSize().height));
            c.setPreferredSize(new Dimension(jScrollPane2.getSize().width + 100, c.getSize().height));
            c.revalidate();
        }

    }

    void setpComponentm(Component[] comm, int num) {

        for (Component c : comm) {

            c.setSize(new Dimension(num, c.getSize().height));
            c.setPreferredSize(new Dimension(jScrollPane2.getSize().width - 100, c.getSize().height));
            c.revalidate();
        }

    }


    private void jmen_infoPanelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmen_infoPanelActionPerformed

        jp_info.setVisible(!jp_info.isVisible());
        jSplitPane1.setDividerLocation(0.20);
    }//GEN-LAST:event_jmen_infoPanelActionPerformed

    static void updateClintItem() {

        ac.engin.index i = new ac.engin.index();
        if (!productId.equals("") && !clientId.equals("")) {
            i.TabelString = "sales";
            String where = "where 1=1";
            if (!clientId.equals("")) {
                where += " and   sales.client ='" + clientId + "'";
            }
            if (!productId.equals("")) {
                where += " and   sales_items.product ='" + productId + "'";
            }

            //
            i.serachTabel = pCLTable1;

            i.dataViewAS = new String[]{"_hide", "_minWidth", "_midWidth", "_minWidth", "_minWidth", "_midWidth"};
            // String w = SQL_installmentHome + " where installment_items.status=0 and  " + dateTime.updateSerechLessDate("installment_items.date", "<=", new Date());
            i.indexsearch(sqlQuerys.SQL_SellMoveAllShort + where);
        }

    }

    private void pCLLabel13MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_pCLLabel13MouseClicked
        i.TabelString = "sales";
        String where = "where 1=1";
        if (!clientId.equals("")) {
            where += " and   sales.client ='" + clientId + "'";
        }
        if (!productId.equals("")) {
            where += " and   sales_items.product ='" + productId + "'";
        }
        i.setPrint(REPORT_sales_client_item, sqlQuerys.SQL_SellMoveAll + where);
    }//GEN-LAST:event_pCLLabel13MouseClicked

    private void pCLButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_pCLButton4ActionPerformed


    }//GEN-LAST:event_pCLButton4ActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(index.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(index.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(index.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(index.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>
        index.setDefaultLookAndFeelDecorated(true);

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                index.setDefaultLookAndFeelDecorated(true);
                index Ape = new index();
                Ape.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
                Ape.setExtendedState(JFrame.MAXIMIZED_BOTH);
                Ape.setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenu jMenu4;
    private javax.swing.JMenu jMenu5;
    private javax.swing.JMenu jMenu6;
    private javax.swing.JMenu jMenu7;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JMenuItem jMenuItem10;
    private javax.swing.JMenuItem jMenuItem11;
    private javax.swing.JMenuItem jMenuItem12;
    private javax.swing.JMenuItem jMenuItem13;
    private javax.swing.JMenuItem jMenuItem14;
    private javax.swing.JMenuItem jMenuItem15;
    private javax.swing.JMenuItem jMenuItem16;
    private javax.swing.JMenuItem jMenuItem17;
    private javax.swing.JMenuItem jMenuItem18;
    private javax.swing.JMenuItem jMenuItem19;
    private javax.swing.JMenuItem jMenuItem2;
    private javax.swing.JMenuItem jMenuItem3;
    private javax.swing.JMenuItem jMenuItem4;
    private javax.swing.JMenuItem jMenuItem5;
    private javax.swing.JMenuItem jMenuItem6;
    private javax.swing.JMenuItem jMenuItem7;
    private javax.swing.JMenuItem jMenuItem8;
    private javax.swing.JMenuItem jMenuItem9;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JPopupMenu.Separator jSeparator2;
    private javax.swing.JPopupMenu.Separator jSeparator3;
    private javax.swing.JPopupMenu.Separator jSeparator4;
    private javax.swing.JSplitPane jSplitPane1;
    private org.jdesktop.swingx.JXTaskPane jXTaskPane1;
    private org.jdesktop.swingx.JXTaskPane jXTaskPane2;
    private org.jdesktop.swingx.JXTaskPane jXTaskPane3;
    private org.jdesktop.swingx.JXTaskPane jXTaskPane4;
    private org.jdesktop.swingx.JXTaskPaneContainer jXTaskPaneContainer1;
    private ac.ui.controls.PCLImage jimg_comImage;
    private static ac.ui.controls.PCLLabel jlb_cbalance;
    private static ac.ui.controls.PCLLabel jlb_ccategory;
    private static ac.ui.controls.PCLLabel jlb_clastmove;
    private javax.swing.JLabel jlb_clock;
    private javax.swing.JPanel jlb_comData;
    private ac.ui.controls.PCLLabel jlb_comtitle;
    private static ac.ui.controls.PCLLabel jlb_ctitle;
    private static ac.ui.controls.PCLLabel jlb_pBalance;
    private static ac.ui.controls.PCLLabel jlb_pategory;
    private static ac.ui.controls.PCLLabel jlb_pinventory;
    private static ac.ui.controls.PCLLabel jlb_plastmove;
    private static ac.ui.controls.PCLLabel jlb_pnumInInventory;
    private static ac.ui.controls.PCLLabel jlb_ppricbay;
    private static ac.ui.controls.PCLLabel jlb_ppricsell;
    private static ac.ui.controls.PCLLabel jlb_ptitle;
    private static ac.ui.controls.PCLLabel jlb_tbalance;
    private static ac.ui.controls.PCLLabel jlb_tlastmove;
    private static ac.ui.controls.PCLLabel jlb_ttitle;
    private javax.swing.JLabel jlb_username;
    private javax.swing.JCheckBoxMenuItem jmen_infoPanel;
    private static ac.ui.controls.PCLPanel jp_info;
    private ac.ui.controls.PCLPanel jp_info1;
    public static ac.ui.controls.PCLTabs jtab_pages;
    private org.jdesktop.swingx.JXTaskPane jtask_cInfo;
    private org.jdesktop.swingx.JXTaskPane jtask_cInfo1;
    private org.jdesktop.swingx.JXTaskPane jtask_cInfo2;
    private org.jdesktop.swingx.JXTaskPane jtask_pInfo;
    private ac.ui.controls.PCLButton pCLButton1;
    private ac.ui.controls.PCLButton pCLButton2;
    private ac.ui.controls.PCLButton pCLButton3;
    private ac.ui.controls.PCLButton pCLButton4;
    private ac.ui.controls.PCLButtonBeanInfo pCLButtonBeanInfo1;
    private ac.ui.controls.PCLLabel pCLLabel1;
    private ac.ui.controls.PCLLabel pCLLabel10;
    private ac.ui.controls.PCLLabel pCLLabel11;
    private ac.ui.controls.PCLLabel pCLLabel12;
    private ac.ui.controls.PCLLabel pCLLabel13;
    private ac.ui.controls.PCLLabel pCLLabel14;
    private ac.ui.controls.PCLLabel pCLLabel15;
    private ac.ui.controls.PCLLabel pCLLabel16;
    private ac.ui.controls.PCLLabel pCLLabel17;
    private ac.ui.controls.PCLLabel pCLLabel2;
    private ac.ui.controls.PCLLabel pCLLabel23;
    private ac.ui.controls.PCLLabel pCLLabel24;
    private ac.ui.controls.PCLLabel pCLLabel25;
    private ac.ui.controls.PCLLabel pCLLabel3;
    private ac.ui.controls.PCLLabel pCLLabel4;
    private ac.ui.controls.PCLLabel pCLLabel5;
    private ac.ui.controls.PCLPanel pCLPanel1;
    private ac.ui.controls.PCLPanel pCLPanel2;
    private ac.ui.controls.PCLSeperator pCLSeperator1;
    private ac.ui.controls.PCLSeperator pCLSeperator2;
    private ac.ui.controls.PCLSeperator pCLSeperator3;
    private static ac.ui.controls.PCLTable pCLTable1;
    // End of variables declaration//GEN-END:variables
}
